2005-06-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
scroll offset when drawing the box. (#308834, Tom von
Schwerdtner)
+2005-06-26 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
+ scroll offset when drawing the box. (#308834, Tom von
+ Schwerdtner)
+
2005-06-26 Tor Lillqvist <tml@novell.com>
* gdk/Makefile.am
+2005-06-26 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
+ scroll offset when drawing the box. (#308834, Tom von
+ Schwerdtner)
+
2005-06-26 Tor Lillqvist <tml@novell.com>
* gdk/Makefile.am
+2005-06-26 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
+ scroll offset when drawing the box. (#308834, Tom von
+ Schwerdtner)
+
2005-06-26 Tor Lillqvist <tml@novell.com>
* gdk/Makefile.am
GtkMenuPrivate *priv;
g_return_if_fail (GTK_IS_MENU (menu));
-
+
widget = GTK_WIDGET (menu);
menu_shell = GTK_MENU_SHELL (menu);
priv = gtk_menu_get_private (menu);
GTK_STATE_NORMAL,
GTK_SHADOW_OUT,
NULL, widget, "menu",
- -border_x, -border_y, width, height);
+ - border_x, menu->scroll_offset - border_y,
+ width, height);
}
}